package com.example.warehousewms.mapper;

import com.example.warehousewms.bean.Warehouse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WarehouseMapper {

    int insertWare(Warehouse ware);

    int deleteById(Long id);

    int updateWare(Warehouse ware);

    Warehouse getById(Long id);

    List<Warehouse> getAll();
}
